Skip to content
This repository was archived by the owner on Nov 15, 2018. It is now read-only.

Block interact permission#8

Open
aarontwf wants to merge 1 commit intoSpaceManiac:masterfrom
aarontwf:patch-1
Open

Block interact permission#8
aarontwf wants to merge 1 commit intoSpaceManiac:masterfrom
aarontwf:patch-1

Conversation

@aarontwf
Copy link

@aarontwf aarontwf commented Mar 5, 2012

Block interaction should have its own permission node.

@aarontwf
Copy link
Author

aarontwf commented Mar 7, 2012

Oh and don't forget to register it in the plugin.yml like I did.

@leagris
Copy link

leagris commented Mar 25, 2012

I vote for this one. Very annoying having non-builders unable to interact.

@credomane
Copy link
Contributor

I've been playing around with this on my server.

It would seem that when permissions.interact is false you can't build even if permissions.build is true.

To make the interact permission work as you'd (well, I) expect it to you would have to modify the function to check event.getClickedBlock() against levers, buttons, pressure plates, fence gates, wooden doors, iron doors, trap doors, furnances, chests, crafting tables and anything else I missed. Which is way more than I think PermissionsBukkit should be doing.

@leagris
Copy link

leagris commented Mar 26, 2012

#10
Updated plugin.yml
permissions.interact:
description: Allows player to interact when build is false.
default: false
Only cancel interaction event if both build and interact are false
permissions.build supersede permissions.interact
This new node default to false, thus it will not interfere with existing configuration and settings

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants